<template>
	<div>
		<top-nav bgColor="white" title="订单详情" btnName="btn" :rightShow="false" returnPath="上一级"></top-nav>
			<div style="width: 100%;height: 3rem;"></div>
			 <section style="text-align: left;width: 100%;height: 23rem;padding: 0 1.5rem;position: relative;border-bottom: 1px solid gainsboro;">

			<section class="title">
				<label style="flex: 2;">订单编号：</label>
				<span style="flex: 7;text-align: left;">		{{BillNo}}</span>
			</section>
			<section class="title">
				<label style="flex: 2;">客户名称：</label>
				<span style="flex: 7;text-align: left;">		{{CustomName}}</span>
			</section>
				<section class="title">
				<label style="flex: 2;">物料名称：</label>
				<span style="flex: 7;text-align: left;">		{{ItemName}}</span>
			</section>
							<section class="title">
				<label style="flex: 2;">余&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;量：</label>
				<span style="flex: 7;text-align: left;">		{{Balance}}</span>
			</section>

			</section>
	</section>
	</div>
</template>

<script>
	import TopNav from '@/components/nav/topNav.vue'
	export default{
		components:{TopNav},
		data(){
			return{
				ID:'123',
			    BillNo:'',
			    CustomName:'',
			    CustomID:'',
			    CustomNumber:'',
			    Time:'',
			    Balance: 0,
			    ItemName:'',
				data:null
				
			}
		},
		mounted(){
			
			this.ID = this.$route.params.ID
            this.BillNo=this.$route.params.BillNo
			this.CustomName=this.$route.params.CustomName
			this.CustomID=this.$route.params.CustomID
			this.CustomNumber=this.$route.params.CustomNumber
			this.ItemName = this.$route.params.ItemName
			this.Time=this.$route.params.Time
			this.Balance = this.$route.params.Balance
			//this.data = this.$route.params.data
		},

		methods:{
//			getAllSalesCarByorder(){
//				let that=this
//				that.axios.post('/demo2/getAllSalesCarByorder',{
//					'factoryId':this.$parent.factoryId,
//					'uid':this.$parent.factoryInfo.UID,
//					'currentpage':'1',
//					'assid':that.$route.params.assid,
//					'itemid':that.$route.params.itemid,
//					'customerid':that.$route.params.customerid,
//					'organizeid':that.$route.params.organizeid,
//					'orderid':that.$route.params.orderid
//					
//					
//				}).then(function(response){
//					that.list=response.data.data.list
//					console.info(response.data.data.list)
//				}).catch(function(error){
//					
//				})
//				}
		}
	}
</script>

<style>
</style>